package com.zoe.onelink.business.util.ws.message;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2018</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: YT
 * @date 2018/7/10
 */
@XStreamAlias("msgBody")
public class Body {

    /**
     * 确认代码 AA成功, AE失败
     */
    private String ackCode = "";
    /**
     * 消息唯一标识:GUID
     */
    private String originalMsgNo = "";
    /**
     * 错误信息
     */
    private String textMessage = "";
    /**
     * 错误情况
     */
    private String errorCode = "";

    public String getAckCode() {
        return ackCode;
    }

    public void setAckCode(String ackCode) {
        this.ackCode = ackCode;
    }

    public String getOriginalMsgNo() {
        return originalMsgNo;
    }

    public void setOriginalMsgNo(String originalMsgNo) {
        this.originalMsgNo = originalMsgNo;
    }

    public String getTextMessage() {
        return textMessage;
    }

    public void setTextMessage(String textMessage) {
        this.textMessage = textMessage;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
